package com.sxbang.bms.service;


import com.sxbang.bms.dto.UserDto;
import com.sxbang.bms.model.SysUser;

import java.util.List;

public interface UserService {

	List<SysUser> getAllUsers();

	int save(SysUser user);

	int updateUser(UserDto userDto);

	SysUser getUser(String username);

    SysUser getUserById(Long id);

    int deleteUser(Long id);
}
